package com.tff.demo.pojo;

import java.io.Serializable;

public class User implements Serializable {

    /**
     * 主键，用户id
     */
    private int id;

    /**
     * 用户名
     */
    private String userName;

    /**
     * 用户密码
     */
    private String passWord;

    /**
     * 年龄
     */
    private int age;

    /**
     * 联系电话
     */
    private String tel;

    /**
     * 微信
     */
    private String weChat;

    /**
     * QQ号码
     */
    private String qq;


    public User(int id, String userName, String passWord, int age, String tel, String weChat, String qq) {
        this.id = id;
        this.userName = userName;
        this.passWord = passWord;
        this.age = age;
        this.tel = tel;
        this.weChat = weChat;
        this.qq = qq;
    }

    public User() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getWeChat() {
        return weChat;
    }

    public void setWeChat(String weChat) {
        this.weChat = weChat;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", passWord='" + passWord + '\'' +
                ", age=" + age +
                ", tel='" + tel + '\'' +
                ", weChat='" + weChat + '\'' +
                ", qq='" + qq + '\'' +
                '}';
    }
}
